<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateEntranceTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('entrance', function (Blueprint $table) {
            $table->increments('id');
            $table->string('entrance_name')->comment('入口名称');
            $table->string('title')->comment('入口页面标题');
            $table->string('title_img')->comment('标题图片');
            $table->string('entrance_web')->comment('微信入口域名地址');
            $table->string('business_web')->comment('业务域名地址');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('entrance');
    }
}
